home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17901 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  812 b 

  1. Path: news.accent.net!news
  2. From: dallaire@megatoon.com (Guy Dallaire)
  3. Newsgroups: comp.lang.c,comp.lang.c++,comp.unix.programmer
  4. Subject: Re: itoa() in C for unix >>>
  5. Date: Thu, 18 Apr 1996 01:05:09 GMT
  6. Organization: Accent Internet
  7. Message-ID: <4l44mv$g0a@news.accent.net>
  8. References: <1996Apr12.121207@topaz>
  9. NNTP-Posting-Host: 205.205.31.94
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. naderr@topaz.cqu.edu.au wrote:
  13.  
  14. >Hi,
  15.  
  16. >Does anyone have or know of where I may obtain a itoa()
  17.  
  18. If you really can't find it, use sprintf instead...
  19.  
  20. Ex.: sprintf(szString, "%d", iValue);
  21.  
  22. This will place the string version of iValue into szString.  You can
  23. use all of printf's flags too.
  24.  
  25.             Hope this helps
  26. Guy Dallaire
  27. Groupe DMR Inc.
  28. dallaire@megatoon.com
  29.  
  30. P.S. My opinions are my own and do not reflect those of my employer
  31.  
  32.